package com.ciaojian.core.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ciaojian.core.model.ActivityPop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Atlakyn
 */
@Mapper
public interface ActivityPopMapper extends BaseMapper<ActivityPop> {

    /**
     * 检查是否包含标签
     *
     * @param label        用户标签
     * @param labelStrList 广告用户标签群
     * @return 包含返回 true
     */
    Integer checkLabelContains(@Param("label") String label, @Param("labelStrList") String labelStrList);
}
